package com.qyhl.webtv.module_broke.scoop.detail;


import com.qyhl.webtv.commonlib.entity.circle.ScoopListBean;

/**
 * Created by qyhl on 2017/12/13.
 */

public interface ScoopDetailContract {
    interface ScoopDetailView {
        void setDetail(ScoopListBean bean);

        void setError(String msg);

        void setNetError(String msg);

        void addSuccess();

        void addError(String msg);

        void cancelSuccess();

        void cancelError(String msg);
    }

    interface ScoopDetailPresenter {
        void getDetail(String brokeId);

        void addAttention(String ID);

        void cancelAttention(String ID);

        void setDetail(ScoopListBean bean);

        void setError(int code, String msg);

        void addSuccess();

        void addError(String msg);

        void cancelSuccess();

        void cancelError(String msg);
    }

    interface ScoopDetailModel {
        void getDetail(String brokeId);

        void addAttention(String brokeId);

        void cancelAttention(String brokeId);
    }
}
